package com.farmer.reliablemessage;

import com.farmer.reliablemessage.api.IDApi;

import java.util.UUID;

/**
 * @author tech-famer
 * @ClassName: DefaultIDApi
 * @Description: (这里用一句话描述这个类的作用)
 * @date 2021/11/1 15:11
 */
public class DefaultIDApi implements IDApi {

    @Override
    public String nextID() {
        return UUID.randomUUID().toString().replace("-","");
    }
}
